import React from 'react';
import {VictoryPie} from 'victory-native';

class HexagonChar extends React.Component {
  render() {
    return (
      <VictoryPie
        colorScale={['#F5DEB3', '#F4F4F4', '#EEDFCC', '#F2F2F2', '#F0FFFF', '#EEEED1']}
        labels={({datum}) => `${datum.x}`}
        labelRadius={120}
        style={{labels: {fill: 'red', fontSize: 12}}}
        data={this.props.data || []}
      />
    );
  }
}

export default HexagonChar;
